#pragma once

#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>

using std::string;
using std::ifstream;
using std::vector;
using std::cout;
using std::cerr;
using std::endl;

void buildIndex();
void indexPath(string &path, string &index);
void whereIs(string name);
void printPaths();
std::string exec(string cmd);
void trim(string &);

